-
Home
-
BigCommerce For WordPress
-
4.26
-
Code
-
Classes
- Cart
Total Complexity |
35 |
Dependencies |
15 |
Dependents |
12 |
Total lines |
277 |
Lines of code |
155 |
Logical lines of code |
91 |
Comment lines |
89 |
Methods |
13 |
Properties |
1 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_request_to_cart() |
A |
47 |
7 |
36 |
add_line_item() |
S |
52 |
4 |
27 |
get_checkout_url() |
S |
59 |
4 |
14 |
get_embedded_checkout_url() |
S |
59 |
4 |
14 |
sanitize_cart_id() |
S |
62 |
4 |
12 |
get_cart_id() |
S |
65 |
3 |
8 |
get_cart_url() |
S |
64 |
2 |
9 |
get_channel_id() |
S |
65 |
2 |
9 |
__construct() |
S |
81 |
1 |
3 |
set_cart_id() |
S |
68 |
1 |
6 |
add_gift_certificate() |
S |
67 |
1 |
8 |
set_item_count_cookie() |
S |
68 |
1 |
6 |
get_currency() |
S |
78 |
1 |
3 |